package com.gw.booking.dto.wechat;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

public class WMerchantChangeOrderDto {

    @ApiModelProperty(value="预约id", required = true)
    private Integer orderId;
    @ApiModelProperty(value="预约人数")
    private Integer orderNum;
    @ApiModelProperty(value="预约日期" ,example = "2018-01-01")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date orderDate;
    @ApiModelProperty(value="预约时间",example = "2018-01-01 10:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date orderTime;
    @ApiModelProperty(value = "预约时间集合（预约时间未确认前可修改）", required = true)
    private List<OrderTimeDto> orderTimeDtoList;

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public List<OrderTimeDto> getOrderTimeDtoList() {
        return orderTimeDtoList;
    }

    public void setOrderTimeDtoList(List<OrderTimeDto> orderTimeDtoList) {
        this.orderTimeDtoList = orderTimeDtoList;
    }
}
